package com.oyesgo.statistics.time;

import java.util.TimerTask;

import com.oyesgo.statistics.service.LogInfoService;
import com.oyesgo.statistics.service.impl.LogInfoServiceImpl;

/**
 * @FileName TimeTast.java
 * @Description: jdk定时器
 * @author rose
 * @version 1.0
 * <p>Company: OYESGO</p>
 * <p>Copyright: Copyright (c) 2010</p>
 */
public class TimeTast extends TimerTask {
    // 在这里写你要定时执行的方法
    public void run(){
    	LogInfoService logInfoService = new LogInfoServiceImpl();
    	logInfoService.insertLogInfo();
    }
}



